package org.example.order.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.entity.Order;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fanfutian
 * @since 2025-04-23
 */
@Mapper
public interface OrderMapper {

    void insertOrder(Order order);

    Order selectByOrderId(Long orderId);

    List<Order> selectByUserId(Long userId);
}
